﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Modules_Module_TopNews : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
//         MysqlHelp MHNews = new MysqlHelp();
//         DataTable DTNews = new DataTable();
//         string strSQL;
//         strSQL = "SELECT * FROM news WHERE isTop=1 AND enable=1 ORDER BY publishtime DESC LIMIT 3";
//         DTNews = MHNews.GetDatabysql(strSQL);
//         int RowCount = DTNews.Rows.Count;
//        // while(RowCount--)
//         {
//             Response.Write(DTNews.Rows[RowCount-1]["title"].ToString());
//         }
    }
}
